package edu.ccut.saturn.manager.menu.impl;

import java.util.List;

import edu.ccut.saturn.component.DefaultComponent;
import edu.ccut.saturn.component.IMuneItemInfo;
import edu.ccut.saturn.component.IParameterContext;
import edu.ccut.saturn.component.SaturnMenuManager;

public class GetRootMenuList extends DefaultComponent {
	@Override
	public void execute(IParameterContext parameterContext) throws Exception {
		
		  List<IMuneItemInfo>  rootMenuList= SaturnMenuManager.getInstance().getAllRootMenuItemInfo();
		  parameterContext.setParameter(0, rootMenuList);
		  
	}
}